package DBLayer;
import java.util.ArrayList;
import ModelLayer.Invoice;

public interface IFDBInvoice {
	// get all Invoices
	public ArrayList<Invoice> getAllInvoices();

	//get one Invoice having the InvoiceNo
	public Invoice getInvoiceNo(int invoiceNo);

	//insert a new Invoice
	public int insertInvoice(Invoice inv) throws Exception;

	//update information about an invoice
	public int updateInvoice(Invoice inv);

	//delete an invoice
	public int deleteInvoice(Invoice inv);

}